﻿/*
 * 个人角色信息中心
 */
var time = java.util.Calendar.getInstance();
var year = time.get(java.util.Calendar.YEAR);           //获得年份
var month = time.get(java.util.Calendar.MONTH) + 1;     //获得月份
var day = time.get(java.util.Calendar.DATE);            //获取日
var hour = time.get(java.util.Calendar.HOUR_OF_DAY);    //获得小时
var minute = time.get(java.util.Calendar.MINUTE);       //获得分钟
var second = time.get(java.util.Calendar.SECOND);       //获得秒
var tz20 = "#fEffect/CharacterEff/1114000/1/0#"; //红星花
 
function start(){
    action(1, 0, 0);
}

function action(mode, type, selection) {
	cm.sendOk("" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "\r\n北京时间:#r" + year + "-" + month + "-" + day + " " + hour + ":" + minute + ":" + second + "#k\r\n#n在线时间：#r" + cm.getPlayer().getTodayOnlineTime() + "#n#k分钟  #r" + "#k\r\n#n当前可用消费： #r" + cm.getHyPay(1) + " #k#n元#k\r\n#n累计消费金额：#r" + cm.getHyPay(2) + " #k#n元#k\r\n#n当前点卷: #r" + cm.getNX(1) + " #n#k点\r\n#n当前抵用卷: #r" + cm.getNX(2) + " #n#k点#k#n\r\n" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "" + tz20 + "\r\n");
	cm.dispose();
}
